* {
  margin: 0;
  padding: 0;
  font-size: 12px;
}

li {
  list-style: none;
}

a {
  display: block;
  text-decoration: none;
}

a:hover {
  color: #e54346;
  cursor: pointer;
}

a,
thead,
.seller,
.category,
.category p {
  color: #666;
}

.container {
  width: 990px;
  margin: 10px auto;
}

table {
  border-collapse: collapse;
  table-layout: fixed;
}

caption {
  width: 80px;
  cursor: pointer;
  line-height: 30px;
  text-align: center;
  border-bottom: 1px solid #E2231A;
}

caption,
caption span {
  font-weight: 700;
  font-size: 16px;
  color: #E2231A;
}

thead {
  font-weight: lighter;
  height: 32px;
  line-height: 32px;
  margin: 0 0 10px;
  padding: 5px 0;
  background: #f3f3f3;
  border: 1px solid #e9e9e9;
  border-top: 0;
}

th {
  padding: 5px 0;
}

th,
.product-desc,
.category,
.action,
.footer-total {
  text-align: left;
  font-weight: normal;
}

td,
.th-checkbox,
.th-price,
.th-quant,
.th-subtotal,
.price,
.quant,
.subtotal,
.footer-quant {
  text-align: center;
}

/* tr :first-child { /* 两个选择符中间要加空格 */
  /*text-align: center;*/
/*} */

.seller {
  height: 30px;
  line-height: 30px;
  border-bottom: 2px solid #aaa;
}

.item {
  border-bottom: 1px solid #f1f1f1;
  height: 118px;
}

.bg-color {
  background: #fff4e8;
}

.tb-checkbox,
.footer-checkbox,
.product-desc,
.category,
.price,
.quant,
.subtotal,
.action {
  vertical-align: top;
  padding: 15px 10px;
}

.seller-checkbox,
.footer-checkbox {
  width: 40px;
  text-align: center;
}

.product-desc {
  width: 210px;
  color: #333;
}

.category {
  width: 130px;
}

.price {
  width: 80px;
}

.quant {
  width: 140px;
  position: relative;
}

.quant input {
  position: absolute;
  right: 52px;
  border: 1px solid #cacbcb;
  width: 42px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  padding: 1px;
  margin: 0;
  font-size: 12px;
  font-family: verdana;
  color: #333;
}

.quant button {
  display: inline-block;
  border: 1px solid #cacbcb;
  height: 22px;
  line-height: 18px;
  padding: 1px 0;
  width: 16px;
  text-align: center;
  margin: 0;
  background: #fff;
  cursor: pointer;
}

.quant button:first-child {
  position: absolute;
  left: 46px;
}

.quant button:last-child {
  position: absolute;
  right: 37px;
}

.subtotal {
  width: 100px;
  font-weight: bold;
}

tfoot {
  color: #999;
  border: 1px solid #f0f0f0;
}

tfoot a {
  display: inline-block;
}

tfoot td {
  text-align: left;
}

.checkout a {
  width: 94px;
  height: 52px;
  font-weight: bold;
  line-height: 52px;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-family: "Microsoft YaHei";
  background: #e54346;
}

.footer-quant span {
  color: #e54346;
  font-weight: bold;
}

.footer-total span {
  font-size: 16px;
  color: #E2231A;
  font-weight: 700;
  line-height: 20px;
  text-align: right;
  font-family: verdana;
}
